public class xt{
    public static void main(String[] argv){
        int i,j;
        for(i=1;i<=9;i++)
        {
            for(j=1;j<=9-i;j++)
               System.out.print(" ");
            for(j=1;j<=2*i-1;j++)
               System.out.print("*");
            System.out.println();
        }
    }
}